// 引入样式
import './style/index.less'
// import Food from './modules/Food'
// import ScorePanel from './modules/ScorePanel'

// 测试食物移动位置
// const food = new Food()
// console.log(food.X, food.Y)
// food.change()
// console.log(food.X, food.Y)

// 测试计分板
// const scorePanel = new ScorePanel()
// for (let i = 0; i < 10; i++) {
// 	scorePanel.addScore()
// }

import GameControl from './modules/GameControl'
const gameControl = new GameControl()

// 将按键绑定存储
// setInterval(() => {
// 	console.log(gameControl.direction)
// }, 1000)
